.modal {
  .steps {
    padding: 0 24px;
    margin-bottom: 24px;

    :global {
      .ant-steps-item-process .ant-steps-item-icon {
        background: @primary-color;
        border-color: @primary-color;
      }

      .ant-steps-item-finish .ant-steps-item-icon {
        border-color: @primary-color;

        .ant-steps-icon {
          color: @primary-color;
        }
      }
    }
  }

  .content {
    padding: 0 24px;
    min-height: 300px;
  }

  .footer {
    padding: 0 24px;
    margin-top: 24px;
    display: flex;
    justify-content: space-between;

    .backButton {
      background: none;
      border: 1px solid #d9d9d9;
      padding: 0 15px;
      height: 32px;
      border-radius: 2px;
      cursor: pointer;

      &:hover {
        color: @primary-color;
        border-color: @primary-color;
      }
    }

    .nextButton {
      background: @primary-color;
      border: 1px solid @primary-color;
      color: #fff;
      padding: 0 15px;
      height: 32px;
      border-radius: 2px;
      cursor: pointer;

      &:hover {
        background: @primary-5;
        border-color: @primary-5;
      }
    }
  }
}


// 现金支付组件样式
.cashPayment {
  :global(.ant-modal-body) {
    padding: 24px;
  }

  :global(.ant-modal-footer) {
    padding: 16px 24px;
    border-top: 1px solid @border-color-split;
  }

  .cashContent {
    text-align: center;
    padding: 16px 0;
  }

  .cashTitle {
    margin-bottom: 24px;
    color: @heading-color;
  }

  .cashAmount {
    font-size: 20px;
    display: block;
    margin-bottom: 32px;
    color: @text-color;

    .amount {
      color: @error-color;
      font-size: 24px;
      font-weight: 600;
      margin-left: 8px;
    }
  }

  .cashTips {
    margin-top: 24px;
    color: @text-color-secondary;
    font-size: 14px;
  }
}
